--- title: Figma metaTitle: Figma to code description: Amplify Studio offers an integration with Figma, allowing you to generate clean React code by importing your Figma design file. supportedFrameworks: react --- import { Fragment } from '@/components/Fragment'; import { getCustomStaticPath } from '@/utils/getCustomStaticPath'; export async function getStaticPaths() { return getCustomStaticPath(frontmatter.supportedFrameworks); } {/* `getStaticProps` is required to prevent "Error: getStaticPaths was added without a getStaticProps. Without getStaticProps, getStaticPaths does nothing" */} export async function getStaticProps() { return { props: {} } } {({ platform }) => import(`./index.${platform}.mdx`)}